package cn.hzking.gjmall.bean;

import java.util.List;

import cn.hzking.gjmall.net.base.BaseEntity;

/**
 * Created by Administrator on 2018/4/4.
 */

public class OrderIdBean extends BaseEntity {

    /**
     * data : {"orderPayGroups":[{"bond":false,"groupId":382,"number":3,"totalPrice":15}],"paymethod":"WX_MP_PAY"}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * orderPayGroups : [{"bond":false,"groupId":382,"number":3,"totalPrice":15}]
         * paymethod : WX_MP_PAY
         */

        private String paymethod;
        private List<OrderPayGroupsBean> orderPayGroups;

        public String getPaymethod() {
            return paymethod;
        }

        public void setPaymethod(String paymethod) {
            this.paymethod = paymethod;
        }

        public List<OrderPayGroupsBean> getOrderPayGroups() {
            return orderPayGroups;
        }

        public void setOrderPayGroups(List<OrderPayGroupsBean> orderPayGroups) {
            this.orderPayGroups = orderPayGroups;
        }

        public static class OrderPayGroupsBean {
            /**
             * bond : false
             * groupId : 382
             * number : 3
             * totalPrice : 15
             */

            private boolean bond;
            private int groupId;
            private int number;
            private double totalPrice;


            public boolean isBond() {
                return bond;
            }

            public void setBond(boolean bond) {
                this.bond = bond;
            }

            public int getGroupId() {
                return groupId;
            }

            public void setGroupId(int groupId) {
                this.groupId = groupId;
            }

            public int getNumber() {
                return number;
            }

            public void setNumber(int number) {
                this.number = number;
            }

            public double getTotalPrice() {
                return totalPrice;
            }

            public void setTotalPrice(double totalPrice) {
                this.totalPrice = totalPrice;
            }
        }
    }
}
